﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

namespace Quản_Lý_Thư_Viện
{
    class TheloaiControl
    {
        private TheloaiDataAccess theloaidata = new TheloaiDataAccess();
        public void inserttheloai(TheloaiInfo info)
        {
            theloaidata.inserttheloai(info);
        }
        public void updatetheloai(TheloaiInfo info)
        {
            theloaidata.updatetheloai(info);
        }
        public void updatetheloaidausach(DausachInfo info)
        {
            theloaidata.updatetheloaidausach(info);
        }
        public void deletetheloai(TheloaiInfo info)
        {
            theloaidata.deletetheloai(info);
        }
        public DataTable LayDSTheloai()
        {
            return theloaidata.LayDSTheloai();
        }
        public DataTable timtl()
        {
            return theloaidata.timtl();
        }
    }
}
